<section class="scrollable padder-md" data-ng-controller="TripTransactionRecordEditController">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded  btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-black">
            <i class="fa fa-edit m-r-sm"></i>
            行程交易记录- {{tripTransactionRecord.id || '新增'}}
        </h3>
    </div>

    <section class="panel panel-default">
        <div class="panel-body">
            <form name="tripTransactionRecordForm" class="form-horizontal">
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        行程名：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.name}}</span>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 control-label">
                        时间：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.time | date:'yyyy-MM-dd HH:mm:ss'}}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        司机姓名：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.driver.nickname}}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        司机电话：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.driver.tel}}</span>
                    </div>
                </div>


                <div class="form-group">
                    <label class="col-md-3 control-label">
                        乘客：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.passenger.nickname}}</span>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 control-label">
                        乘客电话：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.passenger.tel}}</span>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 control-label">
                        人数：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.trip.seat}}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        总价格：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.total}}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        管理费：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.platformCost}}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        司机费用：
                    </label>
                    <div class="col-md-8">
                        <span class="form-control">{{tripTransactionRecord.driverCost}}</span>
                    </div>
                </div>
                <!-- 按钮 -->
                <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                    <button type="button" class="btn btn-default" data-ng-click="close()">
                        <i class="i i-arrow"></i>
                        &nbsp;返回
                    </button>
                </div>
            </form>
        </div>
    </section>
</section>
